import request from '@/utils/http'
 

export const getPostList = (data) => {
    return request({
        url: '/system/post/list',
        method: 'get',
        params: data,
    })
}
export const getPostById = (id) => {
    return request({
        url: `/system/post/${id}`,
        method: 'get',
    })
}

export const systemPost = (data) => {
    return request({
        url: `/system/post`,
        method: 'put',
        data
    })
}